
package org.japo.java.basics.entities;

import javax.swing.JFrame;

/**
 *
 * @author Adrian Pascual
 */
class IGU extends JFrame{
   
    //Declaracion componentes  cosas
    
    IGU(){
        iniciarComponentes();
    }
    private void iniciarComponentes(){
    GEV gev = new GEV(this);
    addWindowListener(gev);
    setTitle("Ventana Centrada");
    setSize(300,200);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setLocationRelativeTo(null);
        
        }
    }

